cd ..\..
call setenv_rvds4.0.cmd

cd %SPIROOT%
Msbuild Build.dirproj /T:build /p:flavor=release
Msbuild Build.dirproj /T:build /p:flavor=debug

cd %SPIROOT%\Solutions\HAG\DeviceCode\HAG_IOBUS\targets\dotnetmf\api\IOBus
msbuild IOBus.sln /t:build /p:Configuration=Release

cd %SPIROOT%\Solutions\HAG\DeviceCode\HAG_IOBUS\targets\dotnetmf\api\IOBus
msbuild IOBus.sln /t:build /p:Configuration=Debug

cd %SPIROOT%\Solutions\HAG\DeviceCode\HAG_IOBUS\targets\dotnetmf\api\IOBusClasses
msbuild IOBusClasses.sln /t:build /p:Configuration=Release

cd %SPIROOT%\Solutions\HAG\DeviceCode\HAG_IOBUS\targets\dotnetmf\api\IOBusClasses
msbuild IOBusClasses.sln /t:build /p:Configuration=Debug

cd %SPIROOT%\solutions\HAG\ManageCode
msbuild build.dirproj /t:build /p:memory=RAM;flavor=debug;HAG_CFG=HAG32 /v:m

cd %SPIROOT\solutions\HAG\ManageCode
msbuild build.dirproj /t:build /p:memory=RAM;flavor=release;HAG_CFG=HAG32 /v:m

cd %SPIROOT%\solutions\HAG
msbuild dotnetmf.proj /t:build /p:memory=RAM;flavor=debug;HAG_CFG=HAG32 /v:m

cd %SPIROOT%\solutions\HAG\
msbuild dotnetmf.proj /t:build /p:memory=RAM;flavor=release;HAG_CFG=HAG32 /v:m
